projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e15ff9
)
sh: update sh2/sh2a timer coding style
author
Jean-Christophe PLAGNIOL-VILLARD
<
[email protected]
>
Sat, 20 Dec 2008 14:27:45 +0000
(15:27 +0100)
committer
Nobuhiro Iwamatsu
<
[email protected]
>
Fri, 16 Jan 2009 01:22:26 +0000
(10:22 +0900)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <
[email protected]
>
Signed-off-by: Nobuhiro Iwamatsu <
[email protected]
>
lib_sh/time_sh2.c
patch
|
blob
|
history
diff --git
a/lib_sh/time_sh2.c
b/lib_sh/time_sh2.c
index 4f893c87bd90e311f2578e33dcd9521f3bd914b0..5c6c9d4384f4fa0ad21fc7dd7410ba8b7aa515a6 100644
(file)
--- a/
lib_sh/time_sh2.c
+++ b/
lib_sh/time_sh2.c
@@
-28,7
+28,7
@@
#include <asm/io.h>
#include <asm/processor.h>
-#define CMT_CMCSR_INIT
0x0001
/* PCLK/32 */
+#define CMT_CMCSR_INIT
0x0001
/* PCLK/32 */
#define CMT_CMCSR_CALIB 0x0000
#define CMT_MAX_COUNTER (0xFFFFFFFF)
#define CMT_TIMER_RESET (0xFFFF)
@@
-87,7
+87,7
@@
static unsigned long get_usec (void)
/* return msec */
ulong get_timer(ulong base)
{
- return (get_usec()
/
1000) - base;
+ return (get_usec()
/
1000) - base;
}
void set_timer(ulong t)